home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / sound / mtrs_v2_demo / install_mtrs_v2e_demo < prev    next >
Text File  |  1999-11-29  |  2KB  |  104 lines

  1.  
  2. ; Installer-Script MTRS_V2_DEMO A.Sprenger 1999
  3.  
  4. (set @askdefault "Work:")
  5. (set @askhelp "\n  Select a directory\n  for MTRS_V2_DEMO.")
  6. (set @askprompt "directory for MTRS_V2_DEMO\n")
  7. (set @bad-kick "MTRS need \nKickstart 2.0 !")
  8.  
  9. (if (< (/ (getversion) 65536) 37)
  10.     (abort @bad-kick)
  11. )
  12.  
  13. (welcome)
  14. (message "\n\n\nThe script install\nMTRS_V2_DEMO\n on your harddisk.")
  15. (complete 0)
  16. (set @destination (askdir (prompt @askprompt)
  17.               (help @askhelp)
  18.           (default @askdefault)
  19.           )
  20.     )
  21.  
  22. (set @destination (expandpath @destination))
  23. (set @destination (tackon @destination "MTRS"))
  24. (copyfiles (prompt "install")
  25.        (help "")
  26.        (source "")
  27.        (dest @destination)
  28.        (infos)
  29.        (pattern "MTRS_V2E_DEMO")
  30.       )
  31. (complete 40)
  32. (copyfiles (prompt "install")
  33.        (help "Install the document ?")
  34.        (source "")
  35.        (dest @destination)
  36.        (infos)
  37.        (confirm)
  38.        (pattern "MTRS_V2_Anleitung")
  39.       )
  40. (complete 45)
  41. (copyfiles (prompt "install")
  42.        (help "")
  43.        (source "")
  44.        (dest @destination)
  45.        (infos)
  46.        (pattern "MTRS_V2_TableOfFunctions")
  47.       )
  48. (complete 50)
  49. (set @destination (tackon @destination "HDR"))
  50. (makedir @destination)
  51.  
  52. (set changechoice
  53.                   (askchoice
  54.                              (prompt "MTRS need the >HDR:< device.\nIf you select change user-startup,\nthen assign >HDR< automatic after reboot.")
  55.                  (help "MTRS V2 need HDR: not by all means.")
  56.                  (choices "Change User-Startup " "Continue")
  57.                 )
  58.          )
  59. (if (not changechoice)
  60.     (startup "MTRS" (prompt "Change User-Startup ")
  61.                 (help "")
  62.                 (command "ASSIGN HDR: " (expandpath (@destination)))
  63.                    )
  64.     )
  65. (complete 60)
  66.  
  67. (set @destination "FONTS:")
  68.  
  69. (copyfiles (prompt "install")
  70.        (help "")
  71.        (source "")
  72.        (dest @destination)
  73.        (pattern "MTRS")
  74.       )
  75. (complete 70)
  76. (copyfiles (prompt "install")
  77.        (help "")
  78.        (source "")
  79.        (dest @destination)
  80.        (pattern "MTRS.font")
  81.       )
  82. (complete 80)
  83. (set @destination "C:")
  84.  
  85. (copyfiles (prompt "install")
  86.        (help "")
  87.        (source "")
  88.        (dest @destination)
  89.        (pattern "MTRSDEMOPlayer.TSK")
  90.       )
  91. (complete 90)
  92. (set @destination "S:")
  93.  
  94. (copyfiles (prompt "install")
  95.        (help "")
  96.        (source "")
  97.        (dest @destination)
  98.        (pattern "MTRS.prefs")
  99.       )
  100. (complete 100)
  101.  
  102.  
  103.  
  104.